///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Jun 30 2011)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "CreateCompany.h"

///////////////////////////////////////////////////////////////////////////

CreateDB::CreateDB( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizerAll;
	bSizerAll = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizerSerSet;
	bSizerSerSet = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizerTitle;
	bSizerTitle = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("服务器设置"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText1->Wrap( -1 );
	bSizerTitle->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
	bSizerTitle->Add( m_staticline1, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	bSizerSerSet->Add( bSizerTitle, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerSerIP;
	bSizerSerIP = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("服务器IP"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText2->Wrap( -1 );
	bSizerSerIP->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_textCtrlSerIP = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	bSizerSerIP->Add( m_textCtrlSerIP, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	bSizerSerSet->Add( bSizerSerIP, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerSerCode;
	bSizerSerCode = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText3 = new wxStaticText( this, wxID_ANY, wxT("      密码"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText3->Wrap( -1 );
	bSizerSerCode->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_textCtrl2 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
	bSizerSerCode->Add( m_textCtrl2, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	bSizerSerSet->Add( bSizerSerCode, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer16;
	bSizer16 = new wxBoxSizer( wxHORIZONTAL );
	
	m_buttonSerConnet = new wxButton( this, wxID_ANY, wxT("连接数据库"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer16->Add( m_buttonSerConnet, 1, wxALL, 5 );
	
	bSizerSerSet->Add( bSizer16, 1, wxEXPAND, 5 );
	
	bSizerAll->Add( bSizerSerSet, 0, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerCompanySet;
	bSizerCompanySet = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizerTitle;
	bSizerTitle = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText5 = new wxStaticText( this, wxID_ANY, wxT("新建公司"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText5->Wrap( -1 );
	bSizerTitle->Add( m_staticText5, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
	bSizerTitle->Add( m_staticline3, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	bSizerCompanySet->Add( bSizerTitle, 0, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerCompanyName;
	bSizerCompanyName = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText6 = new wxStaticText( this, wxID_ANY, wxT("公司名称"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText6->Wrap( -1 );
	bSizerCompanyName->Add( m_staticText6, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_textCtrlCompanyName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	bSizerCompanyName->Add( m_textCtrlCompanyName, 1, wxALL, 5 );
	
	bSizerCompanySet->Add( bSizerCompanyName, 0, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerCompayDB;
	bSizerCompayDB = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText7 = new wxStaticText( this, wxID_ANY, wxT("数据库名"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText7->Wrap( -1 );
	bSizerCompayDB->Add( m_staticText7, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_textCtrlDBName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	bSizerCompayDB->Add( m_textCtrlDBName, 1, wxALL, 5 );
	
	bSizerCompanySet->Add( bSizerCompayDB, 0, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerBaseNet;
	bSizerBaseNet = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText8 = new wxStaticText( this, wxID_ANY, wxT("网络基址"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText8->Wrap( -1 );
	bSizerBaseNet->Add( m_staticText8, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_textCtrlBaseAdder = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	bSizerBaseNet->Add( m_textCtrlBaseAdder, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	bSizerCompanySet->Add( bSizerBaseNet, 0, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerPartNet;
	bSizerPartNet = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticText9 = new wxStaticText( this, wxID_ANY, wxT("网段地址"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText9->Wrap( -1 );
	bSizerPartNet->Add( m_staticText9, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	m_textCtrl6 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	bSizerPartNet->Add( m_textCtrl6, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	bSizerCompanySet->Add( bSizerPartNet, 0, wxEXPAND, 5 );
	
	bSizerAll->Add( bSizerCompanySet, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerCreateCompany;
	bSizerCreateCompany = new wxBoxSizer( wxHORIZONTAL );
	
	m_buttonCreate = new wxButton( this, wxID_ANY, wxT("创建"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizerCreateCompany->Add( m_buttonCreate, 0, wxALL, 5 );
	
	m_buttonExit = new wxButton( this, wxID_ANY, wxT("退出"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizerCreateCompany->Add( m_buttonExit, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	bSizerAll->Add( bSizerCreateCompany, 0, wxALIGN_RIGHT, 5 );
	
	this->SetSizer( bSizerAll );
	this->Layout();
	
	this->Centre( wxBOTH );
}

CreateDB::~CreateDB()
{
}
